home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / LoadPrg < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      LoadPrg(33.4)      ARP Programmers Manual     LoadPrg(33.4)
  5.  
  6.  
  7.  
  8.      NAME
  9.       LoadPrg -- Load a program by searching path.
  10.  
  11.      SYNOPSIS
  12.       segment = LoadPrg("name")
  13.         d0              d1
  14.  
  15.      FUNCTION
  16.       This function    loads a    program    into memory, as    does
  17.       LoadSeg(), but unlike    LoadSeg() it searches first the    arp
  18.       maintained resident list, then the user specified path.  If
  19.       called from a    Workbench process, the resident    list, the
  20.       current directory, and the C:    logical    directory will be
  21.       searched, in that order. (This is the    CLI's default path.)
  22.  
  23.      INPUTS
  24.       "name" - pointer to a    null terminated    pathname of the
  25.           command to load.
  26.  
  27.      RESULT
  28.       segment - a BPTR to the loaded code, or NULL,    if an error
  29.           occured.  In the case    of an error, IoErr() should be
  30.           able to give you more    information.
  31.  
  32.      BUGS
  33.       None known
  34.  
  35.      SEE ALSO
  36.       UnLoadPrg(), AddResidentPrg(), ASyncRun(), SyncRun()
  37.  
  38.      AUTHOR
  39.       SDB
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.